<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE HTML>  
<html>
<head>
<meta charset="utf-8"/>
<script type="text/javascript">
	
// 	function onMessage(e) {
// 		alert(e.data);
		
// 		window.opener.postMessage('收到消息：' + e.data);
// 	}
	
	window.addEventListener('message', function(e) {
		alert(e.data);
		window.opener.postMessage('收到消息：' + e.data, 'http://192.168.111.197:8088/z_mytest/jsp/');
	});
	
	
</script>

</head>
<body>
    
</body>
</html>